/*
 * @Author: jhw jiaxianshengye@gmail.com
 * @LastEditTime: 2025-07-31 11:38:44
 * @LastEditors: jhw
 * @Description: 文件描述
 */
const name = '张三'
const age = 18
const person = []

for (let i = 0; i < 1000; i++) {
  person.push({
    name: `${name}${i}`,
    age: age + i,
    id: i,
  })
}

export const exportData = (num: number) => {
  const data = []

  for (let i = 0; i < num; i++) {
    data.push({
      name: `${name}${i}`,
      age: age + i,
      id: i,
    })
  }

  return data
}

export default [...person]
